const adminRoutes = [
    {
        path: '/project',
        name: 'project',
        meta: { title: '项目管理' },
        children: [
            {
                path:'/project/index',
                name:'project-index',
                meta: { title: '项目列表' },
                component: ()=>import('../views/project/list/index.vue'),
            },
            {
                path:'/project/management',
                name:'group-management',
                meta: { title: '资方列表' },
                component: ()=>import('../views/project/capital/index.vue'),
            },
            {
                path:'/project/store',
                name:'group-store',
                meta: { title: '店铺列表' },
                component: ()=>import('../views/project/store/index.vue'),
            },
        ]
    },
    {
        path: '/statistics',
        name: 'statistics',
        meta: { title: '数据统计' },
        children: [
            {
                path:'/statistics/index',
                name:'statistics-index',
                meta: { title: '回款统计' },
                component: ()=>import('../views/statistics/index/index.vue'),
            },
        ]
    },
    {
        path: '/financial',
        name: 'financial',
        meta: { title: '财务管理' },
        children:[
            {
                path:'/financial/log',
                name:'financial-log',
                meta: { title: '分账明细' },
                component: ()=>import('../views/financial/log/index.vue'),
            },
            {
                path:'/financial/bank',
                name:'financial-bank',
                meta: { title: '到账明细' },
                component: ()=>import('../views/financial/bankLog/index.vue'),
            },
        ]
    },
    {
        path: '/crawler',
        name: 'crawler',
        meta: { title: '爬虫维护' },
        children:[
            {
                path:'/crawler/log',
                name:'crawler-log',
                meta: { title: '爬虫状态' },
                component: ()=>import('../views/crawler/log/index.vue'),
            },
        ]
    }
]

export default adminRoutes;
